package org.jeecg.modules.ecard.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
/**
 * <p>
 * 
 * </p>
 *
 * @author 杜正冬
 * @since 2025-03-26
 */
@Getter
@Setter
@ToString
@TableName("SMART.SMART_SRCDATA")
@ApiModel(value = "SmartSrcdataEntity对象", description = "")
public class SmartSrcdataEntity extends Model<SmartSrcdataEntity> {

    private static final long serialVersionUID = 1L;

    @TableId("SMT_ROWID")
    private Long smtRowid;

    @TableField("SMT_AUTHNO")
    private Long smtAuthno;

    @TableField("SMT_MACHINEID")
    private String smtMachineid;

    @TableField("SMT_MACHINECODE")
    private String smtMachinecode;

    @TableField("SMT_DEALDATETIME")
    private String smtDealdatetime;

    @TableField("SMT_PSAMCARDNO")
    private String smtPsamcardno;

    @TableField("SMT_INVOICENO")
    private Long smtInvoiceno;

    @TableField("SMT_PSAMINVOICENO")
    private Long smtPsaminvoiceno;

    @TableField("SMT_DATETIME")
    private Date smtDatetime;

    @TableField("SMT_WALLETTYPE")
    private Short smtWallettype;

    @TableField("SMT_CARDID")
    private Long smtCardid;

    @TableField("SMT_WALLETCODE")
    private String smtWalletcode;

    @TableField("SMT_TIMES")
    private Long smtTimes;

    @TableField("SMT_BATCHNO")
    private Long smtBatchno;

    @TableField("SMT_DECTIMES")
    private Long smtDectimes;

    @TableField("SMT_ADDTIMES")
    private Long smtAddtimes;

    @TableField("SMT_DEALCODE1")
    private String smtDealcode1;

    @TableField("SMT_INMONEY")
    private Long smtInmoney;

    @TableField("SMT_OUTMONEY")
    private Long smtOutmoney;

    @TableField("SMT_DEALCODE")
    private String smtDealcode;

    @TableField("SMT_TAC")
    private String smtTac;

    @TableField("SMT_CRCDATA")
    private String smtCrcdata;

    @TableField("SMT_SRCSENDDATA")
    private String smtSrcsenddata;

    @TableField("SMT_SRCRECVDATA")
    private String smtSrcrecvdata;

    @TableField("SMT_REPEATNO")
    private Integer smtRepeatno;

    @TableField("SMT_COLLECTWAY")
    private Short smtCollectway;

    @TableField("SMT_ITEMCODE")
    private String smtItemcode;

    @TableField("SMT_ORG_ID")
    private String smtOrgId;

    @TableField("SMT_ACCOUNTS")
    private String smtAccounts;

    @TableField("SMT_BANKCARDCODE")
    private Integer smtBankcardcode;

    @TableField("SMT_BANKINVOICENO")
    private String smtBankinvoiceno;

    @TableField("SMT_BANKFLAG")
    private Short smtBankflag;

    @TableField("SMT_DZFLAG")
    private Short smtDzflag;

    @TableField("SMT_FILENAME")
    private String smtFilename;

    @TableField("SMT_DZTIME")
    private Date smtDztime;

    @TableField("SMT_MACHINEADJUSTCODE")
    private String smtMachineadjustcode;

    @TableField("SMT_ADJUSTCODE")
    private String smtAdjustcode;

    @TableField("SMT_DEALWITHDATETIME")
    private Date smtDealwithdatetime;

    @TableField("SMT_ACCOUNTDATE")
    private Date smtAccountdate;

    @TableField("SMT_CHECKSTEP")
    private Short smtCheckstep;

    @TableField("SMT_SELTMENTROWID")
    private Long smtSeltmentrowid;

    @TableField("SMT_OPERATORID")
    private String smtOperatorid;

    @TableField("SMT_DEALWITHFLAG")
    private Short smtDealwithflag;

    @TableField("SMT_DEALWITHWAY")
    private String smtDealwithway;

    @TableField("SMT_DEALWITHDATE")
    private Date smtDealwithdate;

    @TableField("SMT_DEALWITHER")
    private String smtDealwither;

    @TableField("SMT_MANAGEMONEY")
    private Long smtManagemoney;

    @TableField("SMT_DISCOUNTMONEY")
    private Long smtDiscountmoney;

    @TableField("SMT_OUTERKEEPER")
    private Short smtOuterkeeper;

    @TableField("SMT_CARDCHECKDATE")
    private Date smtCardcheckdate;

    @TableField("SMT_SENDFLAG")
    private Short smtSendflag;

    @TableField("SMT_SENDTIME")
    private Date smtSendtime;

    @TableField("SMT_SENDOPERATORID")
    private String smtSendoperatorid;

    @TableField("SMT_OLDROWID")
    private Long smtOldrowid;

    /**
     * 交易介质
     */
    @ApiModelProperty("交易介质")
    @TableField("SMT_MEDUIMCODE")
    private Integer smtMeduimcode;

    @TableField("SMT_PROCESSLIST_ROWID")
    private Long smtProcesslistRowid;

    @Override
    public Serializable pkVal() {
        return this.smtRowid;
    }
}
